<!DOCTYPE html>
<script src="resources/selection.js"></script>
<style>
  span { color: transparent }
  span::after { content: counter(dummy) }
  span::selection { background: transparent; color: initial }
</style>
<p>You should see the word PASS two times below (no zeros).</p>
<div id="select">
  <span>PASS</span><span>PASS</span>
</div>
<script>
  selectNode(select);
</script>
